-- @Author: Roger zou
-- @Date:   2015-10-17 11:25:45
-- @Last Modified by:   Roger.zou
-- @Last Modified time: 2015-12-20 15:02:21


--开发工具的名称及安装的路径
--自行添加 

-- %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Skype\Phone\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin


develop_list = {
--name     工具的名称
--root     工具的安装路径(绝对)
--env_base 安装路径映射到工作目录后，设置的变量，用于其他环境变量引用
--env_ext  其他扩展的环境变量
--         location   'tmp' 'user' or 'system'  (默认为system)
--         flag      'create' or 'append' (默认为append)
--         env_name   环境变量名称，可以为任意
--         path       相对路径


      --git	
    {
        name = 'git',
        root ='C:\\Program Files\\Git',
        env_base = "GIT_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path =''}, 
           {location = 'default',flag='append',env_name = "PATH",path ='bin'} 
        }
    },
	--svn
 	{
        name = 'svn',
        root ='C:\\Program Files\\TortoiseSVN',
        env_base = "SVN_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='bin'},                   
        }
    },  
  -- Android sdk and nkd directory  adb tools etc...          
    {
        name = 'android',
        root ='D:\\platform\\android',
        env_base = "ANDROID_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='sdk'},
           {location = 'default',flag='append',env_name = "PATH",path ='ndk'},
           {location = 'default',flag='append',env_name = "PATH",path ='sdk\\platform-tools'} ,                      
        }
    },
	
    {
        name = 'qt',
        --root ='D:\\platform\\qt',
	    root ='D:\\Qt',
        env_base = "QTDIR",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='4.8.6\\bin'}, 
           {location = 'default',flag='append',env_name = "QMAKESPEC",path ='4.8.6\\mkspecs\\win32-g++'},           
		   
        }
    },          

    {
        name = 'eclipse',
        root ='D:\\Android\\adt-bundle-windows-x86-20140702\\eclipse',
        env_base = "ECLIPSE_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path =''} ,                   
        }
    },
    {
        name = 'base',   ----include lua premake4 etc 
        root ='D:\\platform\\base',
        env_base = "BASE_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path =''},
           {location = 'default',flag='append',env_name = "PATH",path ='gow'},
           {location = 'default',flag='append',env_name = "PATH",path ='msys'},
           {location = 'default',flag='append',env_name = "PATH",path ='msys2'}
        }
    },
	{
        name = 'lua',
        root ='D:\\platform\\lua',
        env_base = "LUA_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='bin'},
           {location = 'default',flag='append',env_name = "LIBRARY_PATH",path ='lib'},           
           {location = 'default',flag='append',env_name = "C_INCLUDE_PATH",path ='include'}                   
        }
    },

    {
        name = 'swig',
        root ='D:\\platform\\swigwin-3.0.7',
        env_base = "SWIG_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path =''},        
        }
    },
	{
        name = 'gradle',
        --root ='D:\\platform\\gradle',
		root = 'D:\\Android\\AndroidStudio\\gradle\\gradle-2.10',
        env_base = "GRADLE_HOME",
        env_ext =
        { 
			{location = 'default',flag='append',env_name = "PATH",path ='bin'},		   
        }
    },
	
	{
        name = 'cmake',
        root ='D:\\platform\\cmake',
        env_base = "CMAKE_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='bin'},
        }
    },
	
	{
        name = 'doxy',
        root ='D:\\platform\\doxygen',
        env_base = "DOXY_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='bin'}, 
        }
    },     
    {
        name = 'luapower',
        root ='D:\\platform\\luapower',
        env_base = "LUA_POWER_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path =''},
        }
    },

    {
        name = 'dmd',
        root ='D:\\platform\\dmd',
        env_base = "DMD_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='windows\\bin'},                 
           {location = 'default',flag='append',env_name = "PATH",path ='windows\\lib'},   
        }
    }, 
	
    {
        name = 'mingw32',
        root ='D:\\platform\\mingw32',
        env_base = "MINGW_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='bin'},
           {location = 'default',flag='append',env_name = "PATH",path ='libexec\\gcc\\i686-w64-mingw32\\4.8.2'},
           {location = 'default',flag='append',env_name = "LIBRARY_PATH",path ='lib'},
           {location = 'default',flag='append',env_name = "LIBRARY_PATH",path ='lib\\gcc\\i686-w64-mingw32\\4.8.2'},           
           {location = 'default',flag='append',env_name = "C_INCLUDE_PATH",path ='include'},
           {location = 'default',flag='append',env_name = "C_INCLUDE_PATH",path ='lib\\gcc\\i686-w64-mingw32\\4.8.2\\include'},  
           {location = 'default',flag='append',env_name = "CPLUS_INCLUDE_PATH",path ='i686-w64-mingw32\\include'},    
           {location = 'default',flag='append',env_name = "CPLUS_INCLUDE_PATH",path ='i686-w64-mingw32\\include\\c++'},
           {location = 'default',flag='append',env_name = "CPLUS_INCLUDE_PATH",path ='i686-w64-mingw32\\include\\c++\\backward'},    
                       
        }
    },

    {
        name = 'java',
        root ='D:\\platform\\jdk1.8.0_60',
        env_base = "JAVA_HOME",
        env_ext =
        { 
           {location = 'default',flag='append',env_name = "PATH",path ='bin'},
           {location = 'default',flag='append',env_name = "PATH",path ='lib'},
           {location = 'default',flag='append',env_name = "C_INCLUDE_PATH",path ='include'},
           {location = 'default',flag='append',env_name = "C_INCLUDE_PATH",path ='include\\win32'}, 
		   {location = 'default',flag='append',env_name = "CPLUS_INCLUDE_PATH",path ='include'},
           {location = 'default',flag='append',env_name = "CPLUS_INCLUDE_PATH",path ='include\\win32'},                                  
        }
    }, 
	
    {
        name = 'python',
        root ='D:\\platform\\Python27',
        env_base = 'PYTHONPATH', --"PYTHON_HOME",
        env_ext =
        { 
           {location = 'default',flag='default',env_name = "PATH",path =''},
           {location = 'default',flag='default',env_name = "PATH",path ='Scripts'},
           {location = 'default',flag='default',env_name = "PATH",path ='DLLs'},  
           -- {location = 'default',flag='default',env_name = "PATH",path ='Lib\\site-packages\\PyQt4'},
           {location = 'default',flag='append',env_name = "C_INCLUDE_PATH",path ='include'},
           {location = 'default',flag='append',env_name = "CPLUS_INCLUDE_PATH",path ='include'},
           {location = 'default',flag='default',env_name = "LIBRARY_PATH",path ='libs'},   
           {location = 'default',flag='default',env_name = "LD_LIBRARY_PATH",path ='libs'},   		   
		   
        }
    },
    {
        name = 'npm',
        root ='D:\\platform\\node-v6.11.3-win-x86',
        env_base = 'NPM_HOME', --"NPM_HOME",
        env_ext =
        { 
           {location = 'default',flag='default',env_name = "PATH",path =''},   
        }
    },

}